<div id="content">       

    <? if(is_array($response)){?>
    <div class="response">
        <span class="<?=$response["class"]?>"><?=$response["msg"]?></span>
    </div>
    <?}?>

    <div class="float_block_right">
        <a class="button" href="<?=site_url('admin/suppliers/add')?>">ADD NEW SUPPLIER</a>
        <a class="button" href="<?=site_url('admin/suppliers/export')?>">EXPORT DATA</a>
    </div>

    <h1>Suppliers</h1>

    <div class="live_search_msg"></div>

    <? foreach($list as $item){?>

        <div class="list_block search">

            <a href="<?=site_url('admin/suppliers/view/'.$item['id_Supplier'])?>" class="title"><?=$item['Name_Supplier']?></a>
                                    
            <div class="buttons_block">
                <a href="<?=site_url('admin/suppliers/edit/'.$item['id_Supplier'])?>" class="button">edit</a>        
                <a href="<?=site_url('admin/suppliers/remove/'.$item['id_Supplier'])?>" class="button">delete</a>   
            </div>

        </div>   

    <? } ?>

</div>